import { MockMethod } from 'vite-plugin-mock'
export default  [
    {
        method:"get",
        url:'/mock/getBooks',
        response:{
            code: 200,
            message:'成功',
            ok:true,
            data:[
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小红",
                    bookName:"飘",
                    data:"2022-8-31",
                },
                {
                    name:"小一",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
                {
                    name:"小明",
                    bookName:"安徒生童话",
                    data:"2022-8-30",
                },
            ]
        }
    }
]